<?php

namespace App\Models;

class Notice extends Base
{
    //房东的关系
    public function owner(){
        return $this->belongsTo(Fangowner::class,'fangowner_id');
    }
    //租客的关系
    public function renting(){
        return $this->belongsTo(Renting::class,'renting_id');
    }
}
